package stack;

/**
 * @author czt
 * @version 1.0
 * @since 2024/12/20
 *
 */
public class LinkedListStackTest {
    public static void main(String[] args) {
        LinkedListStack<Integer> stack = new LinkedListStack<Integer>(5);
        stack.push(1);
        stack.push(2);
        stack.push(3);
        stack.push(4);
        stack.push(4);
        stack.push(4);

        for (Integer i : stack) {
            System.out.println("i = " + i);
        }
    }
}
